<template>
  <wd-config-provider
    class="provider-wrap"
    :theme="themeConfig.theme" 
    :themeVars="themeVars[themeConfig.theme]"
  >
    <slot />
    <!-- 注意下面，多了一个自定义tabbar -->
    <fg-tabbar />
    <wd-toast custom-class="toast-com-wrap" />
    <wd-message-box />
  </wd-config-provider>
</template>

<script lang="ts" setup>
import { useThemeStore } from '@/store';
const { themeConfig, themeVars } = useThemeStore()
</script>
